//
//  RightTableViewCell.swift
//  CJXSwiftStoryboard
//
//  Created by CJX on 2016/10/20.
//  Copyright © 2016年 caijianxi. All rights reserved.
//

import UIKit

class RightTableViewCell: UITableViewCell {

    var myImgView = UIImageView()
    var titleLabel = UILabel()
    var countLabel = UILabel()
    
    
    
    
    override init(style: UITableViewCellStyle, reuseIdentifier: String?) {
        super.init(style: .Default, reuseIdentifier: nil)
        
        myImgView.frame = CGRectMake(40, SCREEN_HEIGHT*0.025, SCREEN_HEIGHT*0.03, SCREEN_HEIGHT*0.03)
        self.addSubview(myImgView)
        
        titleLabel.frame = CGRectMake(60+SCREEN_HEIGHT*0.03, SCREEN_HEIGHT*0.01, SCREEN_WIDTH*0.5, SCREEN_HEIGHT*0.06)
        titleLabel.font = UIFont.systemFontOfSize(15)
        self.addSubview(titleLabel)
        
        countLabel.frame = CGRectMake(SCREEN_WIDTH-SCREEN_HEIGHT*0.06-30, SCREEN_HEIGHT*0.01, SCREEN_HEIGHT*0.06, SCREEN_HEIGHT*0.06)
        countLabel.hidden = true
        self.addSubview(countLabel)
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
